require('./user.model.js');
const mongoose = require('mongoose'),
    userModel = mongoose.model('User');

function findUser(username, password, callback) {
  userModel.find({UserName:username,Password:password}, callback)
}

exports.findUser = findUser;